package com.learn.project2.mapper;

import com.learn.project2.bean.MarketOrderChannel;
import com.learn.project2.bean.MarketOrderChannelExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MarketOrderChannelMapper {
    long countByExample(MarketOrderChannelExample example);

    int deleteByExample(MarketOrderChannelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketOrderChannel record);

    int insertSelective(MarketOrderChannel record);

    List<MarketOrderChannel> selectByExample(MarketOrderChannelExample example);

    MarketOrderChannel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketOrderChannel record, @Param("example") MarketOrderChannelExample example);

    int updateByExample(@Param("record") MarketOrderChannel record, @Param("example") MarketOrderChannelExample example);

    int updateByPrimaryKeySelective(MarketOrderChannel record);

    int updateByPrimaryKey(MarketOrderChannel record);
}